package com.ygly.struts.bizs;

import com.ygly.struts.actions.SqlAction;

public class ProBiz {
	public void ResponseStu(int proid,int stuid,int state) throws Exception {
		SqlAction sql = new SqlAction();
		sql.OpenConn();
		String query = "update stu_pro set state='"+state+"' where Stu_Id='"+stuid+"' and Pro_Id='"+proid+"'";
		sql.executeUpdata(query);
	}
}
